#makefile bin
BIN_NAME=agency
BIN_DIR=bin
INC_DIR = server
SRC_DIR = server
OBJ_PATH = obj
CCREACTOR_LIB_PATH=../CCReactor
CCREACTOR_LIB = ccreactor
PROTO_DIR = ../public

NET_PROTOCOL := -D__USE_PBA_PROTOCOL__ 
LIB_MYSQL :=  ON
LIB_MEMCACHE := OFF

GAME_DEFINES :=  -D__XXFLAG__

$(shell rm -rf proto)
$(shell mkdir -p proto)
$(shell rm -rf server/pb)
$(shell mkdir -p server/pb)
$(shell cp -f ../public/proto/1650_agentbackend.proto proto)
$(shell cp -f ../public/proto/1800_agency.proto proto)
$(shell cp -f ../public/proto/2000_topic.proto proto)
$(shell cp -f ../public/proto/3300_gm.proto proto)
$(shell protoc --proto_path=proto --cpp_out=server/pb  proto/*.proto)

###############
include ./makefile.base
	
	
	
